package com.helloblog.dao;

import java.util.Date;

import com.helloblog.domain.User;

public interface UserDao {

	public void addUser(User user);

	public void deleteUser(String id);

	public void updateUser(User user);

	public User findUser(String username);

	public User findUserByID(String userid);
	public void modifyUserPassword(User user);
	
	public User loginUser(String username,String password);

	public void updateLastLoginInfo(String id,Date datetime,String ip);

}